{
	name:"PathRemove",
	onClick(pos){
		if (!this.active) return;
		this.onPathRemove(pos)
	},
	onPathRemove(pos){
		let rs = this.$version.queryRemovablePath(pos)
		if(!rs.isEmpty())
			this.$Confirm.focusIn({
				text:`确认移除<b>${rs.length}</b>条路径`
			}).done(()=>{
				this.clearRect()
				this.$version.remove(rs.map(r=>r.id))
			})
			
	}
}